home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / Crossword / Source / Inspector.h < prev    next >
Text File  |  1995-06-12  |  759b  |  45 lines

  1. /*
  2.  
  3. File Inspector.h
  4.  
  5. The inspector allows the user to adjust the type of search as well as the various hueristics used to control it.
  6.  
  7. */
  8.  
  9. #import <objc/Object.h>
  10. #import "CrosswordSquare.h"
  11.  
  12.  
  13. /* ————————————————————————————————————————————————————————————————————————————  */
  14.  
  15.  
  16. #define COLORS        4
  17.  
  18. #define BROADENING        0
  19. #define BESTSQUARE        1
  20. #define BESTLETTER        2
  21. #define LOOKAHEAD        3
  22.  
  23.  
  24. /* ————————————————————————————————————————————————————————————————————————————  */
  25.  
  26.  
  27. @interface Inspector:Object
  28. {
  29.     NXColor        color [COLORS + 2];
  30.     id            options;
  31.     id            stateType;
  32.     id            stopWatch;        
  33.     id            time;
  34. }
  35.  
  36. - (int) getStateType;
  37. - (BOOL) getOption: (int) i;
  38. - getWatch;
  39. - getTimeCell;
  40. - init;
  41. - (squareColor) getColor: (int) i;
  42. - takeColor: sender;
  43. - showTime;
  44.  
  45. @end